<?php
class Shell_Command_Touch extends Shell_Command_Abstract_CommandBase implements Shell_Command_Abstract_IShellCommand
{
	public function __construct()
	{
		parent::__construct();
		//$this->NAME = "dbg";	
		$this->NAME = "touch";
	}
	
//*************************************************************************************************
	public function execute($arguments) 
	{			
		$args = $arguments;
		
		if (count($args)==0)
		{ 
			echo " MEH! ";
			return;
		}
			
		$path = $args[0];			
		$fs = Core_Registry::read(Enum_RegistryItems::FILE_SYSTEM);
		
		$fileName = $path;
		
		$fs->touch($fileName);
		
	}

}